package factory.factory;import factory.simpleFactory.Pizza;/** * Created by Administrator on 2018-10-22. */public class NYCheesePizza extends Pizza {    public void prepare() {         System.out.println("NYCheesePizza preparing.....");    }    public void bake() {         System.out.println("NYCheesePizza baking.....");    }    public void cut() {         System.out.println("NYCheesePizza cutting.....");    }    public void box() {          System.out.println("NYCheesePizza boxing.....");    }}